package cc.market.DTO;

import lombok.Data;

import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serializable;

@Data
public class UserDTO implements Serializable {

    @Schema(description = "性别", required = false)
    private Byte sex;

    @Schema(description = "头像", required = false)
    private String avatar;

    @Schema(description = "个人简介", required = false)
    private String intro;

    @Schema(description = "昵称", required = false)
    private String nickName;

    @Schema(description = "手机号", required = true)
    private String phone;

    @Schema(description = "密码", required = true)
    private String password;

    @Schema(description = "定位省", required = false)
    private String province;

    @Schema(description = "定位市", required = false)
    private String city;

}
